/*
 * @Author: llch
 * @Date: 2020-06-01 15:26:18
 * @LastEditTime: 2020-06-23 17:08:11
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \idiom_demo\assets\script\game\Idiom.ts
 */ 

import { IdiomData } from "../game/IdiomData"


export class Idiom {
    public grids = [];      // 记录占用的格子
    public data = null;     // 词条数据
    public constructor(grids, idiomdataObj) {
        this.data = idiomdataObj;
        for (let i = 0; i < grids.length; i++) {
            this.grids.push(grids[i]);
        }
    }
}
